package cn.ecpay.unionpay.settle.entity.message;

//import org.upay.payment.epcc.util.EPCCMsgHandler;



public class UnionPayParseTest {
//	public static EPCCMsgHandler messageHandler = new EPCCMsgHandler();
	public static void main(String[] args) {
		PvFundSettleSingleReq fundSettlementReq=new PvFundSettleSingleReq();
		fundSettlementReq.setBackUrl("https://notifyAddress.com/rcv");
		fundSettlementReq.setSignature("UHI1yxR9gmdP4sv+cJ0cA/sRFEdJDuAa8XcG7fXlKBi+ZUUdJvfIu7ACckcg/NLSJNN307pbwLTm+xNlLqz6+71RUhHKT3kxC+Fncc3f/nl7m5TYoSYS8llC3x0ZqBinoFbv2gMV2M/mZTQFqOCQ86pja1XutHk4KBr4VlmLZOC0oB0/KoCtyp6coU4nmanR1dEDO9BYKd4X1Emtgi+YjwZ9/w93lhauvR6j2Lfj/g73L1wlJFQ32Q0buresgDFZetua2EMqFx77htgvcNMQ059eSR3rWjf1AKRtZKzv9GT4MzEau+Z6gZ7FLA1at0OTQb+zEx4CpYyEjZtGKE8cSw==");
		fundSettlementReq.setPayeeAcctName("张三");
		fundSettlementReq.setMerName("全渠道测试商户");
		fundSettlementReq.setTxnType("02");
		fundSettlementReq.setRemark("remark");
		fundSettlementReq.setPayerAcctNo("");
		fundSettlementReq.setTxnNo("2018090520590855200008");
		fundSettlementReq.setPayeeBankNo("104000000000");
		fundSettlementReq.setReqReserved("");
		fundSettlementReq.setSndTime("205908");
		fundSettlementReq.setSettleMethod("00");
		fundSettlementReq.setPayerAcctName("");
		fundSettlementReq.setCertId("68719767697");
		fundSettlementReq.setEncoding("UTF-8");
		fundSettlementReq.setAcqInsCode("12345600");
		fundSettlementReq.setVersion("1.0.0");
		fundSettlementReq.setPayeeAcctNo("6212260200000000000");
		fundSettlementReq.setRegionCd("1235");
		fundSettlementReq.setReserved("");
		fundSettlementReq.setMerId("012310048995504");
		fundSettlementReq.setCurrencyCode("156");
		fundSettlementReq.setSignMethod("01");
		fundSettlementReq.setTxnDate("20180905");
		fundSettlementReq.setTxnAmt("1");
//		String jsonTxt=JSON.toJSONString(fundSettlementReq);
//		System.out.println(jsonTxt);
//		
//		PvFundSettleSingleReq tmp=JSON.parseObject(jsonTxt, PvFundSettleSingleReq.class);
	}

}
